package domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Classes {
    private Integer id;
    private String name;
    private String classNum;

    private List<Student> studentList;

    @Override
    public String toString() {
        return "Classes{" +
                "ClassName='" + name + '\'' +
                ", classNum='" + classNum + '\'' +
                '}';
    }
}
